gtk: mark gtk_lock_button_get_permission as nullable
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Sat, 1 Jan 2022 17:17:31 +0000 (18:17 +0100)
committerBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Sat, 1 Jan 2022 17:17:31 +0000 (18:17 +0100)
like the constructor/setter

gtk/gtklockbutton.c

index 5862e866d8a99bba05019c6900499f9c78736be7..dda8cc91479f50a0850b432583d2c06aed150609 100644 (file)
@@ -535,7 +535,7 @@ gtk_lock_button_new (GPermission *permission)
  *
  * Obtains the `GPermission` object that controls @button.
  *
- * Returns: (transfer none): the `GPermission` of @button
+ * Returns: (transfer none) (nullable): the `GPermission` of @button
  */
 GPermission *
 gtk_lock_button_get_permission (GtkLockButton *button)